package com.yang.SpringTest.annotation.qualifierLearn;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

/**
 * <p>QualifierController类</p>
 *
 * @author By: chengxuyuanshitang
 * Package com.yang.SpringTest.annotation.qualifierLearn
 * Ceate Time 2024-03-29 16:30
 */

@Controller
public class QualifierController {
    @Autowired
    @Qualifier("qualifierServiceA")
    private IQualifierService qualifierService;

    public void test () {
        qualifierService.test ();
    }
}

